<?php

$conn = @ mysql_connect("localhost", "root", "ly@0617");
mysql_select_db("bbs", $conn);
mysql_query("set names 'GBK'"); 


function htmtocode($content) {
	$content = str_replace("\n", "<br>", str_replace(" ", "&nbsp;", $content));
	return $content;
}



?>
